package com.hrsystem.common;

public class Res {
    Integer status;
    String msg;
    Object data;

    public Res(Integer status, String msg, Object data) {
        this.status = status;
        this.msg = msg;
        this.data = data;
    }

    public static Res create(Integer status, String msg, Object data) {
        return new Res(status, msg, data);
    }



    public static Res create(Integer status, String msg) {
        return new Res(status, msg,null);
    }
}
